import { post, blob, upload } from '@/utils/request'
import domain from '@/utils/domain'

// 附件上传
export function uploadFile(data) { return upload({ url: domain.file + '/cos/upload', data }) }
// 附件上传
export function uploadF(data) { return upload({ url: domain.file + '/file/upload', data }) }
// 附件删除
export function delF(data) { return upload({ url: domain.file + '/file/del', data }) }
// 附件列表
export function files(data) { return upload({ url: domain.file + '/file/files', data }) }
